/**
 * This file is part of the dspace-poltman project http://www.poltman.com.
 *
 * This is free software; you can redistribute it and/or modify it under
 * the terms of DuraSpace DSpace license detailed in the LICENSE and NOTICE 
 * files at the root of the source tree and available online at
 * http://www.dspace.org/license/
 * 
 */
package com.poltman.dscentral.core;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import com.poltman.dscentral.db.entity.dspace.EPersonEntity;



/**
 * 
 * @author Zbigniew Ciok; z.ciok@poltman.com
 * @version $Revision: 1740 $
 *
 */
public class CoreSessionData implements Serializable {

	private static final long serialVersionUID = -68607064495839612L;
	
    
	private String selectedLanguageCode;
	public String getSelectedLanguageCode() {
		return selectedLanguageCode;
	}
	public void setSelectedLanguageCode(String selectedLanguageCode) {
		this.selectedLanguageCode = selectedLanguageCode;
	}
	
	//--------
	
    public CoreSessionData() {

    }	

	private Map<String, Object> attribute = new HashMap<String, Object>();
	public Object getAttribute(String key) {
		return attribute.get(key);
	}
	public void setAttribute(String key, Object object) {
		this.attribute.put(key, object);
	}
	
}
